@import "mixin";
// @import "../icon/sprite/png-sprite";
$themeColor:#49BCCF !important;
.layui-layer-btn>a {
    border-color: $themeColor;
    background-color: $themeColor;
}

.layui-layer-title {
    background-color: #fff !important;
}

.layui-layer-content {
    .layui-form-item {
        margin-bottom: 0;
    }
    .layui-input {
        height: 30px;
        line-height: 30px;
        line-height: 30px\9;
        border-color: $themeColor;
    }
    .layui-input-inline {
        width: 160px;
    }
    .layui-form-label {
        width: auto;
        position: relative;
        top: -4px;
    }
    .layui-form-select .layui-edge {
        border-top-color: $themeColor;
    }
    .layui-form-select dd.layui-this {
        background-color: $themeColor;
    }
    .layui-form {
        position: relative;
        top: 5px;
    }
    .layui-elem-quote {
        position: relative;
    }
    .plTop {
        position: relative;
        top: 1px;
    }
    .plRight {
        position: absolute;
        right: 22px;
        top: 50%;
        margin-top: -15px;
    }
}

#changeOne {
    overflow: visible;
}

//表格交互警告窗样式
body {
    .layui-layer-content {
        text-align: center;
        line-height: 3;
    }
}

//验证警告样式
.jg_icon {
    color: red;
    font-style: normal;
}

//treeGrid容器隐藏高度

/*
*  初始化需要隐藏的用.menuContent
*  初始化直接显示的用.menuShow
*/

.menuContent {
    display: none;
    position: absolute;
    overflow: auto;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    @include border-radius(5px);
}

.menuShow {}

.ztree {
    margin-top: 0;
    width: 180px;
    height: 300px;
}

// 图片上传样式
.pic_desc {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #ccc;
    .layui-upload-button {
        position: absolute;
        margin: auto;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
    }
    .defClose {
        position: absolute;
        top: 0;
        right: 0;
        cursor: pointer;
        &:hover {
            background: #FF5722;
            color: #fff;
        }
    }
}

// end
// 自定义
body {
    .rolePermission .lTable .layui-form-checkbox i {
        width: 22px;
        font-size: 8px;
    }
    .layui-form-checked,
    .layui-form-checked:hover {
        border-color: #49BCCF;
    }
    .layui-form-checked i,
    .layui-form-checked:hover i {
        color: #49BCCF;
    }
    .layui-form-checkbox {
        height: 16px;
        line-height: 16px;
        padding-right: 15px;
        margin-top: -4px;
        & i {
            width: 11px;
            font-size: 8px;
        }
    }
}

// end
// treeGrid文件夹样式
// .i_fileDefault {
//     &:after {
//         content: "";
//         display: inline-block;
//         @include sprite($icon-fileFirstClosed);
//     }
// }
// .i_fileOpen {
//     &:after {
//         content: "";
//         display: inline-block;
//         @include sprite($icon-fileFirstOpen);
//     }
// }
// .i_fileChild {
//     &:after {
//         content: "";
//         display: inline-block;
//         @include sprite($icon-fileSecond);
//     }
// }
// .i_fileLine {
//     &:before {
//         content: "";
//         display: inline-block;
//         @include sprite($icon-cicon);
//         margin-left: 16px;
//     }
// }